package com.richapp.launcher.scene.interfaces;

public interface ISceneAction{

	/**
	 * 动作类型
	 */
	public static final int SCENE_ACTION_TYPE_OPEN = 0;
	public static final int SCENE_ACTION_TYPE_CLOSE = 1;
	public static final int SCENE_ACTION_TYPE_DIMMING = 2;
	public static final int SCENE_ACTION_TYPE_STOP = 3;
	public static final int SCENE_ACTION_TYPE_INFRARED = 4;	//红外控制类型
	
	/**
	 * 获取动作类型
	 * @return
	 */
	public int getActionType();
	
	/**
	 * 执行动作
	 * @param
	 */
	public void doAction();

	/**
	 * 执行动作后的暂停时间
	 */
	public void doDelay();
	
}
